//
//  XMDHApiString.h
//  XMJJ_zml
//
//  Created by apple on 2025/5/7.
//

#ifndef XMDHApiString_h
#define XMDHApiString_h

//#define baseUrl                  @"http://n78b9448.natappfree.cc" //测试
#define baseUrl                  @"https://app.zhimayaner.com"//@"http://39.105.121.174:48080"

#define version                  @""//@"v1.0"

#define _Network                 [XMNetwork shareInstance]

#define AppId                    @"wxe27fd4207b87851f"
#define UniversalLink            @"https://help.wechat.com/zmy/"

//#mark - 登录
//一键登录
#define loginWithLocalPhone      @"app-api/member/auth/one-click-login"
//获取手机验证码
#define getPhoneCode             @"app-api/member/auth/send-sms-code"
//校验验证码
#define valiateCode              @"app-api/member/auth/validate-sms-code"
//验证码手机号登录
#define loginWithCodePhone       @"app-api/member/auth/sms-login"
//绑定手机号
#define bindPhoneUrl             @"app-api/member/user/update-mobile-by-weixin"
//微信登陆
#define loginWithWechatUrl       @"app-api/member/auth/social-login"
//判断微信是否绑定手机号
#define wechatHasBindPhoneUrl    @"app-api/member/auth/wechat/isBindPhone"
//微信登录
#define wechatLoginUrl           @"app-api/member/auth/wechat"

#pragma mark - Home
//首页推荐
#define getHomeRecommendUrl      @"app-api/system/main/getRecommendServiceNologin"
//首页新发布
#define getHomeNewPubUrl         @"app-api/system/main/getNewestService"
//首页关注
#define getHomeAttentionUrl      @"app-api/system/main/getAttentionService"
//首页一定距离内的见面
#define getHomeDistanceUrl       @"app-api/system/main/searchAddressService"
//见面详情
#define getMeetDetailInfoUrl     @"app-api/system/main/getServiceDetail"
//收藏见面
#define collectionMeetUrl        @"app-api/system/main/collectionService"
//添加到见面箱
#define addMeetBoxUrl            @"app-api/system/app/cart/add"
//创建订单
#define creatOrderUrl            @"app-api/system/app/order/createOrder"
//获取支付信息
#define getPayInfoUrl            @"app-api/system/app/order/getPayInfo"
//直接创建订单
#define creatDirectOrderUrl      @"app-api/system/app/order/createDirectOrder"
//获取他人个人信息
#define getOtherUserInfoUrl      @"app-api/system/main/other-homepage-entry"
//获取他人作品
#define getOtherVideoUrl         @"app-api/system/main/getOtherVideo"
//聊天密钥
#define getUserSigUrl            @"app-api/member/app/wnapp/getUserSig"
//发送消息
#define sendMessageUrl           @"app-api/member/app/wnapp/sendMsg"
//获取历史消息
#define getHistoryMsgUrl         @"app-api/member/app/wnapp/get"
//见面包搜索
#define meetSearchUrl            @"app-api/system/main/searchService"

///发现
//关注的图文
#define getFindAttentionUrl      @"app-api/system/main/getAttentionUGC"
//当前城市的图文
#define getCurrentCityListUrl    @"app-api/system/main/getCurrentCityUGC"
//图文视频点赞
#define videoLikedUrl            @"app-api/system/main/likeVideo"
//图文详情-未登录
#define picwordDetailUrl         @"app-api/system/main/getUgcDetailNologin"
//图文详情-登录
#define loginPicwordDetailUrl    @"app-api/system/main/getShortVideoDetail"
//图文评论列表
#define picwordCommentListUrl    @"app-api/system/main/getVideoCommentsPage"
//评论图文
#define picwordCommentUrl        @"app-api/system/main/publicVideoComment"
//图文点赞
#define picwordLikeUrl           @"app-api/system/main/likeVideo"
//图文评论点赞
#define picwordCommentLikeUrl    @"app-api/system/main/publicVideoCommentLike"
//上传多张图片
#define uploadImgsUrl            @"app-api/member/user/images"
//图文发布
#define picwordPublishUrl        @"app-api/system/main/publishVideo"
//图文搜索
#define picwordSearchUrl         @"app-api/system/main/searchUGC"
//用户搜索
#define findUserSearchUrl        @"app-api/system/main/searchUser"

///我的
//个人基本信息
#define mineInfo                 @"app-api/member/user/get"
//修改基本信息
#define changeBasicInfoUrl       @"app-api/member/user/updateUserInfo"
//推荐朋友
#define recommendFriend          @"app-api/member/user/getListUser"
//关注
#define friendAttention          @"app-api/system/main/optAttention"
//取消关注
#define friendCancenAttention    @"app-api/system/main/cancelAttention"
//通讯录好友信息
#define addressBookFriendInfo    @"app-api/member/user/getTonxuluUser"
//搜索朋友
#define searchFriend             @"app-api/member/user/searchUser"
//主页信息
#define getHomePageInfoUrl       @"app-api/system/main/getZhuyeInfo"
//获取他人主页信息
#define getOtherInfoUrl          @"app-api/system/main/other-homepage-entry"
//获取用户基本信息
#define getUserBasicInfoUrl      @"admin-api/system/oauth2/user/get"
//上传头像
#define updateAvatarUrl          @"app-api/member/user/uploadFile"//@"app-api/system/user/profile/update-avatar"
//更换手机号
#define changeMobileUrl          @"app-api/member/user/update-mobile"
//修改密码
#define changePWUrl              @"app-api/member/user/update-password"
//职业列表
#define jobListUrl               @"app-api/member/user/getJob"
//提交职业
#define jobCommitUrl             @"app-api/member/user/updateUserJob"
//地区树
#define areaListUrl              @"app-api/system/area/tree"
//实名认证
#define realNameAuthenUrl        @"app-api/member/user/shiming"
//我的作品
#define myProductsUrl            @"app-api/system/main/getMyVideo"
//我的收藏视频
#define myCollectUrl             @"app-api/system/main/getMyCollectVideo"
//我收藏的见面
#define myCollectMeetUrl         @"app-api/system/main/collectionServicePage"
//我喜欢的
#define myLikeUrl                @"app-api/system/main/getMyLikeVideo"
//钱包余额
#define getBalanceUrl            @"app-api/member/balance/getBalance"
//提现记录
#define withdrawRecordUrl        @"app-api/member/balance/getBalanceRecord"
//提现
#define withdrawActionUrl        @"app-api/member/balance/submitBalance"
//提交反馈
#define submitFeedbackUrl        @"app-api/system/main/submitFreeback"
//注销账号
#define cancelAccountUrl         @"app-api/member/auth/deactivate"
//退出登录
#define logoutUrl                @"app-api/member/auth/logout"
//我的见面
#define myMeetingUrl             @"app-api/system/main/getMyServiceList"
//见面箱
#define myMeetBoxUrl             @"app-api/system/app/cart/lists"
//见面箱删除
#define meetBoxDeleteUrl         @"app-api/system/app/cart/delete"
//订单列表
#define myOrderListUrl           @"app-api/system/app/order/getOrderListByStatus"
//我的作品浏览记录
#define myBrowsHistoryUrl        @"app-api/system/main/getMyBrowseVideo"
//我的产品浏览记录
#define myBrowseMeetHisUrl       @"app-api/system/main/getMyBrowseService"
//我的地址列表
#define myAddressListUrl         @"app-api/member/address/list"
//创建地址
#define addAddressUrl            @"app-api/member/address/create"
//更新地址
#define addressUpdateUrl         @"app-api/member/address/update"
//最近访客
#define latelyVisitorsUrl        @"app-api/system/main/service/recentVisitor"
//删除结束见面
#define deleteOverMeetingUrl     @"app-api/system/app/order/deleteServiceOrder"
//删除见聊
#define deleteMeetringUrl        @"app-api/system/main/serviceDelete"
//见面下架
#define meetingSoldOutUrl        @"app-api/system/main/serviceDown"
//见面上架
#define meetingReputawayUrl      @"app-api/system/main/serviceUp"
//删除浏览作品记录
#define deleteBrowseUrl          @"app-api/system/main/deleteMyBrowseVideo"
//删除所有浏览视频
#define deleteAllBrowseUrl       @"app-api/system/main/deleteAllBrowseVideo"
//清空见面浏览记录
#define clearAllMeetBrowseUrl    @"app-api/system/main/deleteAllBrowseService"
//订单详情
#define getOrderDetailUrl        @"app-api/system/app/order/getOrderDetail"
//退款规则
#define getReturnRuleUrl         @"app-api/system/main/service/notice"
//申请退款
#define applyForReturnUrl        @"app-api/system/app/order/submitRefund"
//取消退款
#define cancelRefundUrl          @"app-api/system/app/order/cancelSubmitRefund"
//处理退款
#define dealWithRefundUrl        @"app-api/system/app/order/comfirmRefund"
//结束见面
#define meetOverUrl              @"app-api/system/app/order/closeServiceOrder"
//见面评价
#define meetEvaluateUrl          @"app-api/system/main/addReviews"
//获取转卖信息
#define getResellInfoUrl         @"app-api/system/app/order/zhuanmai"
//获取转卖详情
#define getResellDetailInfoUrl   @"app-api/system/app/order/getZhuanmaiDetail"
//转卖提交
#define resellConfirmUrl         @"app-api/system/app/order/submitZhuanmai"
//赠送
#define getGiveInfoUrl           @"app-api/system/app/order/zengsong"
//退款详情
#define getRefundDetailInfoUrl   @"app-api/system/app/order/getRefundDetail"
//取消见面
#define cancelMeetUrl            @"app-api/system/app/order/cancelServiceOrder"
//关注列表
#define getAttentionListUrl      @"app-api/system/main/getMyAttentionUsers"

///消息
#define messageList              @"app-api/system/message/get"
//会话列表
#define getContactListUrl        @"app-api/member/app/wnapp/getRecentContact"

#pragma mark - 发布
#define publishMeetingUrl        @"app-api/system/main/publishService"
//#define saveDraftUrl             @""
//见面场景
#define getServiceTypeUrl        @"app-api/system/main/service/serviceType"
//见面详情
#define getMeetingDetailUrl      @"app-api/system/main/getServiceDetail"
//推荐话题
#define getRecommendTopicUrl     @"app-api/system/main/service/topicRecommend"

#endif /* XMDHApiString_h */
